Integrating Vim

Prerequisites

- SNiFF+ installed at your site.
- Vim 5.x with sniff support installed at your site.
- the

sniff.vim file (part of the SNiFF+ package).
Setting Vim as your preferred editor

Start SNiFF+.
Choose Tools > Preferences in any open SNiFF+ tool.

In the Preferences dialog

Select the Tools > Source Editor node.
From the Current Editor drop-down, choose Emacs/Vim.
Press Ok.
SNiFF+ will now use Vim for all editing requests.

Connecting Vim to SNiFF+

- Set the environment variable

$VIM to $SNIFF_DIR/config/vim .
IMPORTANT: This environment variable must be set to use Vim's online help and syntax highlighting.
- Start Vim.
- Enter the following command in Vim:
:sniff connect
The following message appears:
Connecting to SNiFF+ ... Done

| Note
| If the above message does not appear, check to see if the above steps (1 to 5) have been done properly.